package cn.ainit.base.approve.entity;
// default package

import java.util.Date;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "SYS_APPROVE_REG")
public class ApproveREG implements java.io.Serializable {

	private Long regId;     //审批注册的Id
	private String djType;  //单据的类型
	private Integer approveLevel;  //审批的等级
	private String examineTitle; //审批标题
	private String tableWhere;  //对应的数据库表
	private String examineMan;  //审批人
	private Date lastModDate;   //最后修改时间
	private Date inputDate;    //录入时间
	private String pkColumn;   //审批表对应的Id
	private String dsId;    //每个单据对应的dsId

	 
	@Id
	@Column(name = "REG_ID", unique = true, nullable = false, precision = 22, scale = 0)
	public Long getRegId() {
		return regId;
	}
	public void setRegId(Long regId) {
		this.regId = regId;
	}

	@Column(name = "DJ_TYPE", nullable = false, length = 10)
	public String getDjType() {
		return this.djType;
	}

	public void setDjType(String djType) {
		this.djType = djType;
	}
	
	@Column(name = "DS_ID")
	public String getDsId() {
		return dsId;
	}
	public void setDsId(String dsId) {
		this.dsId = dsId;
	}

	@Column(name = "APPROVE_LEVEL", nullable = false, precision = 22, scale = 0)
	public Integer getApproveLevel() {
		return approveLevel;
	}
	
	public void setApproveLevel(Integer approveLevel) {
		this.approveLevel = approveLevel;
	}
	@Column(name = "EXAMINE_TITLE", length = 32)
	public String getExamineTitle() {
		return this.examineTitle;
	}

	public void setExamineTitle(String examineTitle) {
		this.examineTitle = examineTitle;
	}

	@Column(name = "TABLE_WHERE", length = 100)
	public String getTableWhere() {
		return this.tableWhere;
	}

	public void setTableWhere(String tableWhere) {
		this.tableWhere = tableWhere;
	}

	@Column(name = "EXAMINE_MAN", length = 32)
	public String getExamineMan() {
		return this.examineMan;
	}

	public void setExamineMan(String examineMan) {
		this.examineMan = examineMan;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "LAST_MOD_DATE", length = 7)
	public Date getLastModDate() {
		return this.lastModDate;
	}

	public void setLastModDate(Date lastModDate) {
		this.lastModDate = lastModDate;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "INPUT_DATE", length = 7)
	public Date getInputDate() {
		return this.inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	@Column(name = "PK_COLUMN", length = 100)
	public String getPkColumn() {
		return this.pkColumn;
	}

	public void setPkColumn(String pkColumn) {
		this.pkColumn = pkColumn;
	}

}